<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>搜索</title>
    <link rel="stylesheet" href="assets/css/amazeui.min.css">
    <link rel="stylesheet" href="assets/css/app.css">
    <link rel="stylesheet" href="css/index/index.css">
</head>

<body>
    <div class="search_top h45">
        <img src="img/z-jiantou.png" width="10" height="16">
        <input type="text" placeholder="房东的猫">
        <button>搜索</button>
    </div>
    <div class="history_search h45">
        历史搜索
        <img src="img/shanchu.png" width="20" height="20">
    </div>
    <ul class="search_lists history_lists">
        <li>樱桃新鲜5斤</li>
        <li>紫薯干</li>
        <li>吊灯奢华大气</li>
        <li>巧克力</li>
        <li>三个少女家</li>
        <li>清风</li>
        <li>办公室零食</li>
        <li>欧式电视柜 1.8米</li>
        <li>空调帽子</li>
        <li>帽子室内</li>
    </ul>
    <div class="search_find h45">
        搜索发现
        <img class="" src="img/see.png" width="20" height="15">
    </div>
    <ul class="search_lists">
        <li>山东大樱桃</li>
        <li>巧克力礼盒装</li>
        <li>vivo97手机</li>
        <li>宝宝夏装女套装</li>
        <li>即食紫薯 健身</li>
        <li>山东樱桃</li>
        <li>网红零食</li>
    </ul>

    <script src="js/jquery-1.11.3.js"></script>
    <script>
        $(function () {
            $('.search_lists li').on('click', function () {
                $('.search_top>input').val($(this).text());
            })
            $('.history_search>img').on('click', function () {
                $('.history_lists').html('');
            })
        })
    </script>
</body>

</html>